package org.yscz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.yscz.entity.Testee;
import org.yscz.entity.vo.TesteeVo;

import java.util.Map;

/**
 * @program: pe
 * @description: 数据层 被测人表
 * @author: muqs
 * @create: 2021-08-19 21:30
 **/
public interface TesteeMapper extends BaseMapper<Testee> {

    IPage<TesteeVo> listPageByCondition(IPage<TesteeVo> page, @Param(value = "condition") Map condition);

    IPage<TesteeVo> manualSelect(IPage<TesteeVo> page, @Param(value = "condition") Map condition);

    TesteeVo queryDetail(@Param(value = "testeeId") Long testeeId);
}
